

import 'package:json_annotation/json_annotation.dart';

@JsonSerializable()
class SubitOrderEntity {
  String? cartId;
  String? num;
  String? productType;
  String? skuCode;

  SubitOrderEntity({this.cartId, this.num, this.productType, this.skuCode});

  SubitOrderEntity.fromJson(Map<String, dynamic> json) {
    cartId = json['cartId'];
    num = json['num'];
    productType = json['productType'];
    skuCode = json['skuCode'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['cartId'] = this.cartId;
    data['num'] = this.num;
    data['productType'] = this.productType;
    data['skuCode'] = this.skuCode;
    return data;
  }
}
